Skip to main content

All Questions

2votes
4answers
1kviews

How do I access ngRoute's controller from directive?

I need access to my controller that's provided by ngRoute in directive. Is it possible?
ownadi's user avatar
0votes
1answer
1kviews

How to pass $scope data between two partial files in angularjs

How can I pass data in two partial html files using angularJS, totally weird cant get through it. I have one index file [fine.], I login and reach view5 [partials/blog.html] which is written in ...
AngryJS's user avatar
1vote
0answers
645views

Angularjs initialize multiple controllers at startup?

i have a normal navbar with a menuController, this is the parent. then i have two other controllers a DashBoardController this is loaded on startup and a LoadDataController this is called if i click ...
user2115378's user avatar
5votes
3answers
10kviews

Simple Angular $routeProvider resolve test. What is wrong with this code?

I have created a simple Angular JS $routeProvider resolve test application. It gives the following error: Error: Unknown provider: dataProvider <- data I would appreciate it if someone could ...
Hilo's user avatar
  • 869

close